﻿using ConsoleApp1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class IronNPC : NPC

    {
        public string datie;

        public IronNPC(string name,NPCType type,string datie):base(name,type) 
        {
            this.datie = datie;
        }



        public override void Speak()
        {
            Console.WriteLine("NPC：{0},{1}",this.Name,this.datie);
        }
    }
}
